<?php

namespace app\api\validate;


class RouteValidate extends BaseValidate
{
    protected $rule = [
        'id' => 'isPositiveInteger',
        'title' => 'require|isNotEmpty|chsDash',//标题
        'img' => 'require|isNotEmpty',//图片
    ];
}
